﻿package com.ld.hpfs.service;

import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;


public interface DealService {
	
    public ArrayList<HashMap<String,Object>> getDealSearchList(HashMap<String,Object> param);	
	public ArrayList<HashMap<String,Object>> getDealPrintList(HashMap<String,Object> param);
	
	
	public ArrayList<HashMap<String,Object>> getDealFieldList(HashMap<String,Object> param);
	public String getInitOrderStr(HashMap<String,Object> param);
	public int savePrintOrder(HashMap<String,Object> param);
	
	public ArrayList<HashMap<String,Object>> getPrintOrder(HashMap<String,Object> param);
	
	public ArrayList<HashMap<String,Object>> getDealPrintForExport(HashMap<String,Object> param);
	public int setDeInvoiced(HashMap<String,Object> param);
	public int setInvoiced(HashMap<String,Object> param);
	public int setKeep(HashMap<String,Object> param);
	public int setDeKeep(HashMap<String,Object> param);
	//查询处理-删除
	public int dealSearchDelete(HashMap<String,Object> param);
	//取消审核
	public int cancelAudit(HashMap<String,Object> param);
	
	public int setAssociatPreopen(HashMap<String,Object> param);
	public int setAssociatPreclose(HashMap<String,Object> param);
	public int setAssociatPreclosere(HashMap<String,Object> param);

	public int setToPrint(HashMap<String,Object> param);
	public int checkDetailAmount(HashMap<String,Object> param);

	public List<HashMap<String,Object>> getExportExcelList(HashMap<String,Object> param);
	
	public List<HashMap<String,Object>> getSearchExportExcelList(HashMap<String,Object> param);

	

	
	public ArrayList<HashMap<String,Object>> getDocumentNO(HashMap<String,Object> param);
	public ArrayList<HashMap<String,Object>> getCustomList(HashMap<String,Object> param);
	public ArrayList<HashMap<String,Object>> getGoodsNameList(HashMap<String,Object> param);
     //导入航天——>更新状态，ImportExportController.java
	public int updateInvoiceStateFromImport(HashMap<String,Object> param);
	public List<HashMap<String, Object>> getPrintList(HashMap<String, Object> param);
	public int setExportType(HashMap<String, Object> param);
	public void updateDoc_Status(HashMap<String, Object> param);
	public void savePrintList(List<HashMap<String,Object>> list);
	public void updateDoc_StatusTo1(HashMap<String,Object> list);
	public void delectDOCUMENT_NOFromTAX_NUMS(
			List<HashMap<String, Object>> lists);
	public int getNumsByTax_nums();
	public void savePrintListToTax_nums(HashMap<String, Object> param);
	public HashMap<String,Object> getPrintingInfo();
	public void setPrint_ModeToRunning(String dOCUMENT_NO);
	
	public ArrayList<HashMap<String,Object>> getDetailListForSplit(HashMap<String, Object> param);
	public ArrayList<HashMap<String,Object>> finddealStateUnsplitUnmerge(
			HashMap<String, Object> param);
	public ArrayList<HashMap<String, Object>> existsDataByDoc_No(
			HashMap<String, Object> param);
	public int ImportExcelAerMapping(HashMap<String,Object> param);
	public ArrayList<HashMap<String, String>> findDocNoByGoodsName(HashMap<String,Object> param);
	public HashMap<String, Object> getHeadInfoByDocument(
			HashMap<String, Object> head);
	public ArrayList<HashMap<String, Object>> getDetailInfoByDocument(
			HashMap<String, Object> head);
	public List<HashMap<String,Object>> getPrintHeadInfo(HashMap<String, Object> map);
	public List<HashMap<String, Object>> getPrintDetailInfo(
			HashMap<String, Object> map);
	public ArrayList<HashMap<String,Object>> getBeforeDoc(HashMap<String, Object> param);
	public ArrayList<HashMap<String, Object>> getBrotherDoc(HashMap<String, Object> param);
	public ArrayList<HashMap<String, Object>> getdocStatusByBroDoc(
			HashMap<String, Object> param);
	public HashMap<String, Object> findinfoBydoc(HashMap<String, Object> map);
	public void insertInfo(HashMap<String, Object> map);
	public void insertDetailInfo(List<HashMap<String, Object>> list);
	public HashMap<String,Object> getClientIp();
	public void saveIpAddress(HashMap<String, Object> map);
	public void delectClientIp(HashMap<String, Object> map);
	public void editNum(HashMap<String,Object> param);
	
	//获取快递单扫描信息
	public ArrayList<HashMap<String,Object>> getDealScanList(HashMap<String,Object> param);
	//获取快递公司列表
	public ArrayList<HashMap<String,Object>> getExpressType(HashMap<String,Object> param);
	public ArrayList<HashMap<String,Object>> getExpressType1(HashMap<String,Object> param);
	public ArrayList<HashMap<String,Object>> getExpressType2();

	//保存快递单号
	public int saveExpressNo(HashMap<String,Object> param);
	public List<HashMap<String, Object>> getIpAddress(String ipAddress);
	public Integer getIPCount(HashMap<String, Object> param);
	//获取快递单号列表
	public ArrayList<HashMap<String,Object>> getExpressNO(HashMap<String,Object> param);
	public void updateStateFlag(HashMap<String,Object> param) ;
	/**
	 * 获取快递公司code
	 * @param param
	 * @return
	 */
	String getExpressCode(HashMap<String,Object> param);
	// 获取发票号码
	public ArrayList<HashMap<String, Object>> getInvoiceNum(HashMap<String, Object> param);
	// 获取快递单扫描新增快递单号的单据信息
	public HashMap<String, Object> getDataForExpress(HashMap<String, Object> param);
	// 检查当前公司是否启用快递100功能
	public int getExpressStatus(String companyId);
	// 获取但单据号码和代码
	public HashMap<String, Object> getInvoiceNCode(HashMap<String, Object> param);
	// 获取快递单号
	public ArrayList<HashMap<String, Object>> getDealScanExpressNo(
			HashMap<String, Object> param);
	
	public ArrayList<HashMap<String, Object>> getExpressTypeByname(
			HashMap<String, Object> param);

}
